package com.ocean.redflagtest.mvvm.models.entity

import java.util.Random

/**
 * Created by ocean on 2018/8/1
 * Author :  ocean
 * Email  :  348686686@qq.com
 */
class CircleModel {

    /**
     * 圆左上左
     */
    var circleLeft = -1

    /**
     * 圆左上上
     */
    var circleTop = -1

    /**
     * 圆半径
     */
    var circleRadius = -1

    /**
     * 文字
     */
    var text: String? = null

    /**
     * 图片
     */
    var imgResource: Int = 0


    constructor() {

    }

    constructor(circleLeft: Int, circleTop: Int, circleRadius: Int, text: String, imgResource: Int) {
        this.circleLeft = circleLeft
        this.circleTop = circleTop
        this.circleRadius = circleRadius
        this.text = text
        this.imgResource = imgResource
    }

    constructor(circleLeft: Int, circleTop: Int, circleRadius: Int) {
        this.circleLeft = circleLeft
        this.circleTop = circleTop
        this.circleRadius = circleRadius
    }

    override fun toString(): String {
        return "CircleModel{" +
                "circleLeft=" + circleLeft +
                ", circleTop=" + circleTop +
                ", CircleRadius=" + circleRadius +
                ", text='" + text + '\''.toString() +
                ", imgResource=" + imgResource +
                '}'.toString()
    }
}
